package com.ynet.finmall.dao;

import com.ynet.finmall.model.ImMenu;
import com.ynet.finmall.model.ImMenuQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ImMenuDao {
    int countByExample(ImMenuQuery example);

    int deleteByExample(ImMenuQuery example);

    int deleteByPrimaryKey(String menuId);

    int insert(ImMenu record);

    int insertSelective(ImMenu record);

    List<ImMenu> selectByExample(ImMenuQuery example);

    ImMenu selectByPrimaryKey(String menuId);

    int updateByExampleSelective(@Param("record") ImMenu record, @Param("example") ImMenuQuery example);

    int updateByExample(@Param("record") ImMenu record, @Param("example") ImMenuQuery example);

    int updateByPrimaryKeySelective(ImMenu record);

    int updateByPrimaryKey(ImMenu record);
}